<#include "/admin/public.html">
<div class="uk-layui-form">
	<form class="layui-form uk-form" action="/admin/slide/update.html" method="post">
	  <input type="hidden" name="id" value="${slideData.id!''}">
	  <input type="hidden" name="picurl" value="${slideData.picurl!''}">
	  <div class="layui-form-item">
	    <label class="layui-form-label">名称</label>
	    <div class="layui-input-inline">
	      <input type="text" name="title" value="${slideData.title!''}"  lay-verify="required" placeholder="请输入用户名" autocomplete="off" class="layui-input">
	    </div>
	  </div>
	  <div class="layui-form-item">
	    <label class="layui-form-label">排序</label>
	    <div class="layui-input-inline">
	      <input type="text" name="sort" value="${slideData.sort!''}"  lay-verify="required|number"  placeholder="请输入电子邮件地址" autocomplete="off" class="layui-input">
	    </div>
	  </div>
	  <div class="layui-form-item">
	    <label class="layui-form-label">缩列图展示</label>
	    <div class="layui-input-inline">
			<img alt="${slideData.title!''}" src="/${slideData.picurl!''}" style="width:130px">	
	    </div>
	  </div>
	  <div class="layui-form-button">
	    <div class="layui-button-block">
	      <button class="layui-btn" lay-submit lay-filter="formDemo">立即提交</button>
	      <button type="reset" class="layui-btn layui-btn-primary">重置</button>
	    </div>
	  </div>
	</form>
</div>
 
<script>
//Demo
layui.use('form', function(){
  var form = layui.form();
  form.render(); //更新全部
});
</script>